/*! \file BaseShader.cpp
 *	\brief 
 *
 *	created:	2010/04/14
 *	created:	14:4:2010   16:57
 *	filename: 	c:\src\tactics-engine\libs\gd\BaseShader.cpp
 *	file path:	c:\src\tactics-engine\libs\gd
 *	file base:	BaseShader
 *	file ext:	cpp
 *	author:		Vitalii Trubchaninov
 *				venngraydog@gmail.com
 */

#include "gd/stdafx.h"
#include "gd/BaseShader.h"
#include "gd/BaseShaderImpl.h"

namespace tt{
namespace gd{

BaseShader::BaseShader( const SharedPtr<BaseShaderImpl>& impl )
: m_impl(impl)
{

}

BaseShader::~BaseShader()
{

}

void BaseShader::apply( DeviceContext* context )
{
	m_impl->apply(context);
}

} //namespace gd
} //namespace tt

